curl --request POST \
--url https://api.onetsolutions.net/v1/organizations/{organization_id}/projects/{project_id}/hosting/{id}/dns-records/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "A",
"name": "<string>",
"record": "<string>",
"ttl": 14400,
"priority": 1
}
'{
"line": 123,
"name": "<string>",
"type": "<string>",
"ttl": 123,
"record": "<string>",
"priority": 123
}Add a new DNS record to this hosting’s domain zone.
curl --request POST \
--url https://api.onetsolutions.net/v1/organizations/{organization_id}/projects/{project_id}/hosting/{id}/dns-records/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "A",
"name": "<string>",
"record": "<string>",
"ttl": 14400,
"priority": 1
}
'{
"line": 123,
"name": "<string>",
"type": "<string>",
"ttl": 123,
"record": "<string>",
"priority": 123
}Documentation Index
Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt
Use this file to discover all available pages before exploring further.
Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).
Web hosting unique identifier
Organization unique identifier
Project unique identifier
A - AAAAA - AAAACNAME - CNAMEMX - MXTXT - TXTSRV - SRVCAA - CAAA, AAAA, CNAME, MX, TXT, SRV, CAA 2551024x >= 300x >= 0